﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Dazaza.Domain.Model;

namespace Dazaza.UI.Mvc.Models
{
    /// <summary>
    /// 所有分类
    /// </summary>
    public class CategoryList
    {
        public CategoryList()
        {
            this.ClassList = new List<CategoryClass>();
        }

        public List<CategoryClass> ClassList { get; set; }
    }

    /// <summary>
    /// 一级分类一级其子分类列表
    /// </summary>
    public class CategoryClass : CategoryClassModel
    {
        public CategoryClass()
        {
            this.CategoryList = new List<CategoryModel>();
        }

        List<CategoryModel> CategoryList{get;set;}
    }
}